<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Welcome extends CI_Controller {
	
	function __construct()
	{
    	parent::__construct();
		$this->load->model("user",'instance');
	}

	public function index()
	{	
		$user = $this->instance;
		$this->instance->getUserById(2);
		
		$data = array("session_user" => $this->session->userdata('user'));
		$this->load->template('body', $data);
	}
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */